<#if space?exists&&application.space.id!=space.id>
<div class="vd_clear vd_say " style="margin-left:100px" id="comment_top">
	<p><span class="mainColor vd_weight vd_font">评论</span>&nbsp;<input type="button" value="表情 &gt" class="vd_btt" onclick="openFaceDialog('tangleArea')" id="insert_bq"/></p>
	<form name="commentaryForm" id="commentaryForm" action="${base}/user/communication/comment!save" method="post">
	<div  class="jj_area l" >
		<textarea id="tangleArea" name="commentary.content" style="margin-left:0px"></textarea>
		<input type="hidden" value="${(id?c)!}" name="commentary.application.id"/>
	</div>
	<div style="float:left; margin-left:20px">
		<span class="vd_font12 mainColor">&nbsp;</span>
		<p style="margin-top:55px"><input type="button" value="发表"  class="vd_btt" onclick="ajaxComment('${(id?c)!}','tangleArea','comment_list')"/></p>
	</div>
	</form>
</div>
<hr>
<div id="comment_list">
	<#if commentaryPage?exists&&commentaryPage.result?exists>
	<script>
	moddle="${moddle!}";
	</script>
	<#list commentaryPage.result as comment>
	<div class="vd_clear otpl">
		<div class="otpl_l">
			<div class="otpl_lco font13 mainColor">${(comment.content)!}</div>
			<div class="font12 vd_color9 vd_clear" style="margin-left:50px">${(comment.pubTime)!}</div>
		</div>
		<div class="otpl_r">
			<p><img src="${(mood.publisher.user.head.fullPath)!'${base}/images/tou0.jpg'}" /></p>
			<p class="p_top bga"><a href="${base}/space/index!execute?domain=${(comment.publisher.domain)!}" class="mainColor font13 vd_weight" >${(comment.publisher.name)!}</a></p>
			<div style="margin-top:15px">
				<div class="l font13 vd_weight vd_color9">V${(comment.publisher.level)!}</div>
				<div class="r"> <img src="${base}/images/offline.jpg" /></div>
			</div>
		</div>
	</div>
	<#--
	<div class="vd_sbox vd_clear " style="margin-left:0px; padding:0px; height:auto">
		<div class="vd_boxr l" style="margin-left:0px; height:auto" >
			<div class="vd_img"><a href="${base}/user/?sid=${(comment.publisher.id?c)!}" hidefocus ><img width="53px" height="56px" src="${(mood.publisher.user.head.fullPath)!'${base}/images/tou0.jpg'}"/></a></div>
			<div class="vd_p">
				<p class="vd_font vd_weight vd_color9 vd_no">V${(comment.publisher.level)!}</p>
				<p class="vd_lp" style="margin-top:24px"><img src="${base}/images/bg.jpg"   /></p>
			</div>
			<p class="vd_font vd_clear "><a href="${base}/user/?sid=${(comment.publisher.id?c)!}" hidefocus class="vd_weight mainColor" >${(comment.publisher.user.name)!}</a></p>
		</div>
		<div class="jj_boxl l">
			<div class="jj_boxme l">
				<div class="vd_txt vd_color6 vd_box_de" >
					${(comment.content)!}
				</div>
				<p class="vd_txt" style=" text-align:right">${(comment.pubTime)!}<br /></p>
			</div>
			<div class="l bga" style="margin-left:10px">
				<#if comment.publisher.id == space.id><a href="#" hidefocus class="font12 mainColor">删除</a></#if>
			</div>
			<p class="vd_clear" style="text-align:right; margin-right:45PX"><input type="button" value="回复"  class="vd_btt"  onclick="openReply('comment${(comment.id?c)!}')"//></p>
			
			<div class="vd_clear vd_say " style="margin-left:50px;display:none" id="comment${(comment.id?c)!}">
				<p><span class="mainColor vd_weight vd_font">回复</span>&nbsp;<input type="button" value="表情 &gt" class="vd_btt" onclick="openFaceDialog('tangleArea${(comment.id?c)!}')"/></p>
				<form name="replyForm${(comment.id?c)!}" id="replyForm${(comment.id?c)!}" action="${base}/user/communication/reply!save" method="post">
				<div  class="jj_area l" >
					<textarea id="tangleArea${(comment.id?c)!}" name="reply.content" style="margin-left:0px"></textarea>
					<input type="hidden" value="${(id?c)!}" name="reply.commentary.id"/>
				</div>
				<div style="float:left; margin-left:20px">
					<span class="vd_font12 mainColor">&nbsp;</span>
					<p style="margin-top:55px"><input type="button" value="发表"  class="vd_btt" onclick="ajaxReply('${(comment.id?c)!}','tangleArea${(comment.id?c)!}','reply_list_${(comment.id?c)!}')"/></p>
				</div>
				</form>
			</div>
			
			
			
			<div id="reply_list_${(comment.id?c)!}">
			<#list comment.replyList as reply>
				<#include "reply.ftl" />
			</#list>
			</div>
		</div>
	</div>
	-->
	</#list>
	<@realgodo.pagination_user div="comment_list" />
	</#if>
</div>
</#if>